import request from '@/utils/request'

// 获取teacherLimit4个
// 首页展示
export function getTeacherLimit() {
  return request({
    url: `/edu/front/getTeacher`,
    method: 'get'
  })
}

// 讲师模块
export function getTeacherByLimit(current, limit) {
  return request({
    url: `/edu/front/getTeacherByLimit/${current}/${limit}`,
    method: 'get'
  })
}

export function getTeacherAndCourse(id) {
  return request({
    url: `/edu/front/getTeacherAndCourse/${id}`,
    method: 'get'
  })
}
